Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Describes the construction-time and per-request timeout contract for database.configuration.request_timeout: unit and default are documented per SDK, deadline or idle semantics both satisfy it, the bound applies per retry attempt, and it composes with caller-initiated cancellation. Co-Authored-By: Claude <noreply@anthropic.com>
Compare the seven SDKs and settle the open questions: the timeout bounds each attempt and covers the response body, both deadline and idle forms qualify, a timeout is distinct from caller cancellation, and an unset value adds no SDK default. Drop SDK names from the spec, add diagrams, and update the capability description to match.
grdsdev
force-pushed
the
guilherme/sdk-1789-request-timeout-spec
branch
from
November 26, 2026 09:47
8c490de to
69e271c
Compare
grdsdev
marked this pull request as ready for review
November 26, 2026 09:47
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
specs/database/configuration/request_timeout.mdfordatabase.configuration.request_timeout, and updates the capability description to match it.What the spec says
Two Mermaid diagrams show how the value is chosen and how timeouts, retries, and cancellation interact.
How the SDKs compare today
The spec settles the open question from the first draft. It follows the majority of the seven SDKs.
create_client)Bold cells diverge from the spec. Per CONTRIBUTING, each gets an issue in its SDK repo after this merges; the spec does not change to match them.
The description in
capabilities/database.yamlno longer says "milliseconds" or "deadline", since the spec allows each SDK its own unit and either form.Relates to SDK-1789.